<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>OOP in PHP</title>
<?php include("../im-session-service-adapter.php"); ?>
</head>
<body>
<?php

$session_service_adapter = new ImSessionServiceAdapter();
$arr = array(127646892, 2000000001, 2000000002, 2000000003);
$res = $session_service_adapter->GetOnlineUsers($arr);

print 'online list:';
foreach ($res as $k => $value) {
  print($k . ' state =' . $value . ' ');
}
echo ''

?>
</body>
</html>

